package com.duojuhe.security.shiro.resources.impl;

import com.duojuhe.security.shiro.resources.ResourcesService;
import com.duojuhe.coremodule.system.entity.SystemMenu;
import com.duojuhe.coremodule.system.mapper.SystemMenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Date:2018/11/8
 **/
@Service("resourcesService")
public class ResourcesServiceImpl implements ResourcesService {
    @Autowired
    private SystemMenuMapper systemMenuMapper;
    @Override
    public List<SystemMenu> querySystemMenuAll() {
        return systemMenuMapper.selectAll();
    }
}
